<template>
  <div class="box">
    <img :src="img" alt="" />
    <p v-text="text"></p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      text: "联通西安地区充值",
      img: "./img/life/zidong1.png",
    };
  },
};
</script>

<style lang="scss" scoped>
.box {
  width: 100%;
  text-align: center;
  > img {
    width: 100%;
  }
  > p {
    margin-top: 0.1rem;
    display: inline-block;
    line-height: 0.3rem;
  }
}
</style>